import request from "@/utils/http/request";
import { AxiosResponse } from "axios";
export const login = (
  username: any,
  password: any
): Promise<AxiosResponse<any>> =>
  request({
    url: "/login",
    method: "post",
    data: {
      username,
      password,
    },
    headers: {
      "Content-Type": "application/json",
    },
  });

